/*
 * PayResultContract.java
 * business
 *
 * Created by ChenTao on 2017/2/21.
 *
 * Copyright (c) 2017年 yidiandao. All rights reserved.
 */

package com.yidiandao.business.ui.main.shoppingcart.orderresult;

import android.os.Bundle;

import com.yidiandao.business.base.BasePresenter;
import com.yidiandao.business.base.BaseView;
import com.yidiandao.business.data.bean.ShareEntity;
import com.yidiandao.business.interfaces.RefreshLayoutStateListener;
import com.yidiandao.business.ui.widget.listview.DisplayListItem;

import java.util.List;

public interface OrderResultContract {

    interface View extends BaseView<Presenter> ,RefreshLayoutStateListener{

        void setDisplayListItems(List<DisplayListItem> displayListItems);

        void setTitle(String title);

        void setShareIconVisibility(boolean success);
    }

    interface Presenter extends BasePresenter {

        void extraBundle(Bundle bundle);

        void loadPayResult();

        ShareEntity getShareEntity();
    }
}
